package com.vpx.server.utils;

import cn.hutool.core.util.XmlUtil;
import cn.hutool.json.JSONObject;
import cn.hutool.json.JSONUtil;
import org.w3c.dom.Document;
import org.w3c.dom.Element;

import javax.xml.xpath.XPath;

public class XmlUtils {
    public static void main(String[] s) {
//        Document document = XmlUtil.createXml();
////        document.setXmlVersion("2.0");
//        document.createAttribute("standalone");
//        Element element = document.createElement("htmlxxxx");
//        element.setAttribute("style","xxxx");
//        document.appendChild(element);
//        Element body = document.createElement("bodyxxx");
//        body.setTextContent("设置内容");
//        element.appendChild(body);
//        document.setXmlStandalone(true);
//        XmlUtil.toFile(document,"D:\\项目\\XML\\mml20231126.xml");
       System.out.println(Long.parseLong("0"));
       int num1 = 5;
        numName(num1);
        System.out.println(num1+"");
    }

    public  static  void numName(int num) {
        num = num + 1;
    }
}
